﻿namespace Dyao.Book.Contract

{

    #region Setting

    /// <summary>
    /// 更新任务中心记录配置
    /// </summary>
    public class TestUpdateInfo
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage { get; set; }

        /// <summary>
        /// 成功页数
        /// </summary>
        public int SuccessPage { get; set; }

        /// <summary>
        /// 配置
        /// </summary>
        public List<TestUpdateInfoItem> SettingList { get; set; } = new List<TestUpdateInfoItem>();
    }

    /// <summary>
    /// 任务中心记录配置详情
    /// </summary>
    public class TestUpdateInfoItem
    {
        /// <summary>
        /// PageIndex
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 是否运行成功
        /// </summary>
        public bool IsRunningSuccess { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }
    }

    #endregion

    #region Result

    /// <summary>
    /// 任务中心记录
    /// </summary>
    public class TestUpdateResultItem
    {
        /// <summary>
        /// PageIndex
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }
    }

    #endregion
}
